 var app = getApp();
var utils = require('../util.js');
var d = app.wServerUrl + "interface-server/api/"



var ModulePoints = {}
ModulePoints.getMemberCreditRankInfo = function (data, that, fun, ffn) {
  var req = utils.GS();
  req.memberID = data.memberID;
  utils.request("getMemberCreditRankInfo.json", req, res => {
    if (fun) fun(res)
  }, err => {
    if (ffn) ffn(err)
  })
}

//
ModulePoints.getMyPointList = utils.request1("ds", "getMyPointList.json", "PointList")

module.exports = ModulePoints